/*
	Azid Engine is 3D Game Engine developed along side with Galactic Siege (see Google Code) 
	Copyright (C) 2010  Jorgen Ader

	This file is part of AzidEngine.

	AzidEngine is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	AzidEngine is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with AzidEngine.  If not, see <http://www.gnu.org/licenses/>. 
*/

#ifndef EngineState_HPP_
#define EngineState_HPP_

#include "Includes.hpp"

namespace AzidEngine
{
	/**
	 * \addtogroup ENGINE
	 * @{
	 * \addtogroup BASE_CLASS
	 * @{
	 * \class EngineSate
	 * @{
	 */
	class EngineState
	{
	public:
		EngineState();
		~EngineState();
		
		// TODO add keyevent handler's

		/**
		 * Event method for state updating
		 */
		virtual void onUpdate(double frameTime) = 0;

		/**
		 * Event method for creation of state
		 */
		virtual void onCreate() = 0;

		/**
		 * Event method for destruction of state
		 */
		virtual void onDestroy() = 0;
	};
	/**
	 * @}
	 * @}
	 * @}
	 */
}
#endif /* ENGINESTATE_HPP_ */
